/**
 * 学生
 */

public class StudentTest {
    public static void main(String[] args) {
        //创建学上类的对象
        Student student = new Student("001", "张三","男",20,"计算机");
        //调用属性
//        student.number = "00111";
//        student.Name = "张三";
//        student.age = 20;
//        student.gender = "男";
//        student.subject = "计算机";
        //调用对象的方法
        student.study();
        //创建新的学生对象
        Student student1 = new Student("002","里斯","女",20,"水力");
        student1.study();
    }
}
